/* 顶部导航样式 */
.top-nav {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.back-btn {
    margin-right: 15px;
    cursor: pointer;
}

.top-nav h1 {
    font-size: 18px;
    margin: 0;
    flex: 1;
    text-align: center;
    margin-right: 24px;
}

/* 健康码区域样式 */
.health-code-container {
    padding: 20px;
}

.code-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.avatar i {
    font-size: 50px;
    color: #1890ff;
}

.info h2 {
    font-size: 18px;
    margin: 0 0 5px;
}

.phone {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.qr-code img {
    max-width: 200px;
    height: auto;
}

.code-status {
    text-align: center;
    margin-bottom: 20px;
}

.status-text {
    color: #52c41a;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.update-time {
    color: #999;
    font-size: 12px;
}

.refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: background-color 0.3s;
}

.refresh-btn:hover {
    background: #e8e8e8;
}

/* 注意事项样式 */
.notice-section {
    padding: 20px;
}

.notice-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.notice-list {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item i {
    color: #1890ff;
    margin-right: 10px;
}

.notice-item span {
    color: #666;
    font-size: 14px;
}